Q: Why does my NeXT ypmaster still not work in 1.0a after I have fixed the Makefile in /etc/yp (or why does ypmake hang at the push)?\
\
A: There is a bug in yp_next() call that causes it to loop infinitely on the servers map. This unfortunately occurs when you attempt to push maps to other machines. Placing a "null" entry in the ypservers map will fix the problem. For some reason, the yp_next() call in yppush will correctly detect the end of the map when an entry consisting of a space and a tab is the last item in source file.\
\
Here is how to place such an entry into the ypserver map. Assuming that you have a shell on the ypmaster machine, and the yp domain name is ypdomain and has already been built with ypinit -m, do the following:\
\
\f2\fs24 ypmaster>
\b su
\b0 \
ypmaster
\b #
\b0
\b cd /etc/yp
\b0 \
\b
\b0 ypmaster
\b #
\b0
\b makedbm - ypdom1/ypservers\
ypmaster\
slaveserver1\
slaveserver...\
[space] [tab]\
[^D]\
\b0 ypmaster
\b #
\b0 make\
\f0\fs28 \
That's it. \
\
n.b. This problem has only come up when a NeXT is acting as the ypmaster.\